package com.ems.dao.supers.questions;

import com.ems.pojo.data.RequestData;
import com.ems.pojo.questions.Judgment;
import com.ems.pojo.questions.Subject;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Auther: 伟伟
 * @Date: 2019/10/19
 * @Description: 描述
 * @Version: 1.0
 */
public interface JudgmentDao {
    public void addJudgment(Judgment judgment);

    public void deleteJudgment(Judgment judgment);

    public void updateJudgment(Judgment judgment);

    public List<Subject> findJudgment(Map<String,Object> map);

    public int getJudgmentCount();

    public List<Judgment> getJudgmentBySbAndId(@Param("sb_id") int sb_id,@Param("num") int num);

    public List<Judgment> getJudgmentByIdsList(@Param("idsList") List<Integer> idsList);
}
